package o;

import android.content.Intent;
import android.os.AsyncTask;
import com.huawei.appgallery.foundation.application.pkgmanage.model.update.ApkUpgradeInfo;
import com.huawei.appmarket.service.webview.base.jssdk.control.FullAppStatus;

public class eat extends AsyncTask {
    private String ˏ = "";

    public eat(String str) {
        this.ˏ = str;
    }

    protected Object doInBackground(Object[] objArr) {
        ApkUpgradeInfo ˎ = dss.ॱ().ˎ(this.ˏ, false, 0);
        if (ˎ == null) {
            ˎ = dss.ॱ().ॱ(this.ˏ, false, 0);
        }
        if (ˎ != null) {
            Logger.ˎ("UninstallUpdateChange", "remove app:" + this.ˏ + ",change update manager");
            dss.ॱ().ॱ(this.ˏ);
            dss.ॱ().ˏ(this.ˏ);
            Intent intent = new Intent(dvq.ˊ());
            intent.setPackage(ContentManager.getInstant().getContext().getPackageName());
            ContentManager.getInstant().getContext().sendBroadcast(intent);
        }
        FullAppStatus fullAppStatus = new FullAppStatus();
        fullAppStatus.ˊ(this.ˏ);
        fullAppStatus.appType_ = 4;
        enf.ˋ().ˊ(fullAppStatus);
        return null;
    }
}
